package cn.hfatec.shms.system.module.model;


import org.hibernate.validator.constraints.NotBlank;

/**
 *
 * @author hfatec
 * @version 1.0
 *
 * the JAVA code is generate by middlegen
 *
 */
public class Module {

    //
    private Integer id;
    //模块ID
    private String moduleId;
    //模块名称
    private String moduleName;
    //上级模块ID
    @NotBlank(message = "上级模块ID不能为空")
    private String parentModuleId;
    //排序号
    private Integer sortNo;
    //备注
    private String remark;

    public Integer getId() {
        return this.id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public String getModuleId() {
        return this.moduleId;
    }
    public void setModuleId(String moduleId) {
        this.moduleId = moduleId;
    }
    public String getModuleName() {
        return this.moduleName;
    }
    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }
    public String getParentModuleId() {
        return this.parentModuleId;
    }
    public void setParentModuleId(String parentModuleId) {
        this.parentModuleId = parentModuleId;
    }
    public Integer getSortNo() {
        return this.sortNo;
    }
    public void setSortNo(Integer sortNo) {
        this.sortNo = sortNo;
    }
    public String getRemark() {
        return this.remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }
}